<!DOCTYPE html>
<html>
<head> 
<meta charset="utf-8"> 
<title>菜鸟教程(runoob.com)</title> 
</head> 
<body>

<script>

	var MyJQ = function(){
       }
        MyJQ.prototype = {
            css:function(){
               console.log("设置css样式");
                return this;
            },
           show:function(){
                console.log("将元素显示");
               return this;
            },
           hidea:function(){
                console.log("将元素隐藏");
                return this;
           },

           call:function(times) {
              for(i = 0; i < times; i++) {
              console.log("call " + times);
              }
               return this;
           }
       };
        var myjq = new MyJQ();
        myjq.css().css().show().hidea().call(3);

localStorage.sitename="lovely";
console.log(localStorage.sitename)
</script>
<a href="#tips">跳到提示部分</a>
<iframe src="http://sports.sina.com.cn" name="iframe_a" width="600" height="400"></iframe>
<p><a href="http://www.runoob.com" target="sssself">RUNOOB.COM</a></p>

<p><b>注意：</b> 因为 a 标签的 target 属性是名为 iframe_a 的 iframe 框架，所以在点击链接时页面会显示在 iframe框架中。</p>

<a id="tips">提示部分</a>

<form action="demo_form.php" method="post/get">
<input type="text" name="email" size="40" maxlength="50">
<input type="password">
<input type="checkbox" checked="checked">
<input type="radio" checked="checked">
<input type="submit" value="Send">
<input type="reset">
<input type="hidden">
<select>
<option>苹果</option>
<option selected="selected">香蕉</option>
<option>樱桃</option>
</select>
</form>

<video width="320" height="240" controls>
  <source src="F:/tv/Homeland/Homeland.S06E06.The Return.mp4" type="video/mp4">
  <source src="movie.ogg" type="video/ogg">
  你的浏览器不支持 video 标签。
</video>

<audio controls>
  <source src="F:/Music/Speechs/2012.Debate.R1.Oct03.mp3" type="audio/mp3">
</audio>

<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="190">
   <polygon points="100,10 40,180 190,60 10,60 160,180"
   style="fill:lime;stroke:purple;stroke-width:5;fill-rule:evenodd;"/>
</svg>
<input type="color" name="favcolor"><br>
<input type="date" name="date"><br>
<input type="datetime" name="datetime"><br>
<form action="demo-form.php">
  Username: <input type="text" name="usrname" required>
  <input type="submit">
</form>
</body>
</html>